'net use' with Windows 7.
We have a customer who has the following setup:
Windows SBS 2011 server (with printer attached)
Windows 7 Professional workstation
The printer is shared and works fine for all windows applications on the workstation. The problem is that the customer runs a DOS application that needs to be able to print to lptX. I have used 'net use' to map lpt2 to //server/printer.
This command works and 'net use' shows that lpt2 is indeed redirected, but when I try to copy a file to lpt2 I get 'access denied'.
I have checked the permissions on the printer on the server and the user is listed and allowed to print, as I would expect as the printer works from windows apps.
Any ideas as to what might be preventing this from working? There are no physical lpt ports on this workstation that may be causing a conflict.
Thanks,
Bob
September 27th, 2011 11:23pm
Please open the command prompt using Run as Administrator and see if the issue persists. Refer screenshot:
As far as my knowledge is concerned, this is happening because the application is unable to pass on the commands with administrative privilege. See if you can work-around this problem. Also try running the application as an Administrator or try turning of
the UAC to see if the issue persists.
You need to map it to \\server\printer, not //server/printer.
Please revert back here if your issue remains unresolved. Hope it helps!
Kunal D Mehta - a Windows Server Enthusiast | I'm on facebook.com/serverbaba
Free Windows Admin Tool Kit Click here and download it now
September 29th, 2011 9:03am
Hi,
You may refer to the following similar thread:
net
use LPT access denied
Regards,
Sabrina
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com.
This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread.
September 30th, 2011 12:17am
I mis-typed the slashes in the initial post.
The net use command works with and without me specifying a login/password. When I do not specify the credentials on the command line it does not ask for them, so I assume it is using the login/password for the account I am connected with.
I ran a test and while I have the problem posted above when logged into an account controlled by the domain controller, I do not have this problem when I log into the machine with a local account. This makes me think there is something odd going on
with the permissions related to the account controlled by the domain controller.
-Bob
Free Windows Admin Tool Kit Click here and download it now
September 30th, 2011 4:50pm
Hi Bob,
Thank you for clarifying the issue.
According your description, as this issue is related with the domain accounts, I think you need to post this issue in the
Windows
Small Business Server Forum for further discussion.
Regards,
Sabrina
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com.
This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread.
October 3rd, 2011 3:47am
Hi Bob,
Thank you for clarifying the issue.
According your description, as this issue is related with the domain accounts, I think you need to post this issue in the
Windows
Small Business Server Forum for further discussion.
Regards,
Sabrina
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tnmff@microsoft.com.
This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. |Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question.
This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2011 10:37am


